<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page import="java.util.*, loginbean.*" %>
<%ManageObjects manager = new ManageObjects(); %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Delete Page</title>
</head>
<body>
<%
	if(manager.deleteObject(new Integer(request.getParameter("selectedObject")).intValue()))
	{
		out.println("Object successfully deleted");
	}
	else
	{
		out.println("Error deleting object");
	}
%>
<br><a href="display.jsp">Display Objects</a>
</body>
</html>